import 'package:massagist/generated/json/base/json_field.dart';
import 'package:massagist/generated/json/massage_model_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class MassageModelEntity {
	late String image;
	late String name;
	late String pay;
	late String time;
	late String contant;

	MassageModelEntity();

	factory MassageModelEntity.fromJson(Map<String, dynamic> json) => $MassageModelEntityFromJson(json);

	Map<String, dynamic> toJson() => $MassageModelEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}